package com.dayaokeji.rhythmschoolstudent.client.home.data.bean;

import com.bigkoo.pickerview.model.IPickerViewData;

/**
 * Created by Gorden on 2017/10/16.
 */

public class GroupPermission implements IPickerViewData {

    private int code;
    private String name;

    public GroupPermission(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getPickerViewText() {
        return getName();
    }
}
